babl: implement babl_space_get_rgb_luminance
authorØyvind Kolås <pippin@gimp.org>
Tue, 28 May 2019 23:58:30 +0000 (01:58 +0200)
committerØyvind Kolås <pippin@gimp.org>
Tue, 28 May 2019 23:58:35 +0000 (01:58 +0200)
commitb60b394cb86e91397c2e4d8563a0a4e2e9c550ba
treec87920981f0dd4506289ffe541e08eccf2f5833e
parent5a54c1381704164ac15c5a48900257126f4ab2a2
babl: implement babl_space_get_rgb_luminance

This provides the factors often found as defines hard-coded for sRGB
with values that are adapted to the primaries of the RGB family of
pixel encodings for a given babl space.
babl/babl-space.c
babl/babl.h
export-symbols